package com.imot.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备记录表
 * </p>
 *
 * @author wangjiah
 * @since 2023-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ema_record")
@ApiModel(value="EmaRecord对象", description="设备记录表")
public class EmaRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "温度 (℃), 范围 -20.00 到 150.00, 精度 ±0.2")
    private Float temperature;

    @ApiModelProperty(value = "速度 (m/s), 具体范围未提供")
    private Float speed;

    @ApiModelProperty(value = "加速度 (g), 范围 0.00 到 5.00")
    private Float acceleration;

    @ApiModelProperty(value = "电源电压 (V), 范围 22.00 到 32.00")
    private Float supplyVoltage;

    @ApiModelProperty(value = "电机电流 (A), 范围 0.00 到 42.00")
    private Float motorCurrent;

    @ApiModelProperty(value = "电机转速 (RPM), 具体范围未提供")
    private Float motorSpeed;

    @ApiModelProperty(value = "位移 (mm), 范围 ±80.00, 精度 ±0.1")
    private Float displacement;

    @ApiModelProperty(value = "推力 (N), 范围 ±5000.00")
    private Float thrust;

    @ApiModelProperty(value = "数据生成的时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "电磁扭矩")
    private Float elecTorque;

    @ApiModelProperty(value = "判断是否为异常标识点")
    private String isException;

    @ApiModelProperty(value = "是否为故障表示点")
    private String isError;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "作动次数")
    private Integer actuationCount;

    @ApiModelProperty(value = "当前状态")
    private String currentStatus;

    @ApiModelProperty(value = "余度状态")
    private String balanceStatus;

    @ApiModelProperty(value = "调试时长")
    private String testStartTime;

    @ApiModelProperty(value = "故障注入时长")
    private String faultInjectTime;

    @ApiModelProperty(value = "故障类型")
    private String faultType;

    @ApiModelProperty(value = "故障模式")
    private String faultMode;

    @ApiModelProperty(value = "试验类型")
    private String testType;

    @ApiModelProperty(value = "试验模型")
    private String testModel;

    @ApiModelProperty(value = "试验名称")
    private String testName;

    @ApiModelProperty(value = "试验编码")
    private String testCode;

    @ApiModelProperty(value = "开机时长")
    private String startupDuration;

    @ApiModelProperty(value = "运行时长")
    private String runningDuration;

    @ApiModelProperty(value = "设备编号")
    private String deviceNumber;

    @ApiModelProperty(value = "设备状态")
    private String deviceStatus;

    @ApiModelProperty(value = "具体部位")
    private String specificPart;

    @ApiModelProperty(value = "异常位置")
    private String exceptionLocation;

    @ApiModelProperty(value = "故障位置")
    private String errorLocation;

    @ApiModelProperty(value = "故障类别")
    private String faultCategory;


}
